import { createRouter, createWebHashHistory } from 'vue-router'

export default createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/login',
      component : () => import('../views/login/index.vue'),
      meta:{
        isHideFooter: true
      }
    },
    {
      path: '/register',
      component : () => import('../views/register/index.vue'),
      meta:{
        isHideFooter: true
      }
    },
    {
      path: '/home',
      component : () => import('../views/home/index.vue')
    },
    {
      path: '/search',
      component: () => import('../views/search/index.vue')
    },
  ]
})